﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GBMS.MODEL
{
    public class ProjectOptionInfo
    {
        private int seq;
        private string descr;
        private double weight;
        private OptionInfo opt;
        private ProjectInfo pj;
        private UserRecordInfo user;

        public ProjectOptionInfo() { }

        public ProjectOptionInfo(int seq, string descr, double weight, OptionInfo opt, ProjectInfo pj, UserRecordInfo user)
        {
            this.seq = seq;
            this.descr = descr;
            this.weight = weight;
            this.opt = opt;
            this.pj = pj;
            this.user = user;
        }

        public int Sequence
        {
            get
            {
                return seq;
            }
            set
            {
                seq = value;
            }
        }

        public string Description
        {
            get
            {
                return descr;
            }
            set
            {
                descr = value;
            }
        }

        public double Weight
        {
            get
            {
                return weight;
            }
            set
            {
                weight = value;
            }
        }

        public OptionInfo Option
        {
            get
            {
                return opt;
            }
            set
            {
                opt = value;
            }
        }

        public ProjectInfo Project
        {
            get
            {
                return pj;
            }
            set
            {
                pj = value;
            }
        }

        public UserRecordInfo User
        {
            get
            {
                return user;
            }
            set
            {
                user = value;
            }
        }
    }
}
